package com.lottery.common.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.lottery.common.model.BaseModel;
    import java.time.LocalDateTime;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 短信发送列表
    * </p>
*
* @author jobob
* @since 2019-09-23
*/
    @Data
    @TableName("tb_sms_info")
    public class SmsInfo{

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
            /**
            * 验证码
            */
    private String smsCode;

            /**
            * 验证码类型 1登录 2注册 3认证
            */
    private Integer smsType;

    private LocalDateTime createTime;

            /**
            * 会员ID
            */
    private Long memberId;

            /**
            * 失效时间
            */
    private LocalDateTime invalidTime;

            /**
            * 发送状态 0 已发送 1发送中 2发送失败 3 已使用
            */
    private Integer status;

    private String phone;

            /**
            * 模板id
            */
    private Integer templateId;


}
